using System;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Dimok.Web.UI;
using Data;
using Data.LINQ;
using Data.DataSources;

namespace Dimok.Aspx.Manager.Lib.Controls {
	public partial class PurchaseContract : UserControlClientSafe {

		protected void Page_Load(object sender, System.EventArgs e) {
			if ((ID + "") != "") Attributes.Add("ID", ID);
			ltrAttrs.Text = User.UserPage.BuildAttributes(Attributes);
			var applID = new UOX().applID;
			XmlPurchaseContract.InnerHtml = SQL.XmlInnerText(new PurchaseContractsDataSource().SelectEx(applID).Table);
			XmlDecisionFaults.InnerHtml = new Dimok.Aspx.Manager.Lib.WS().XmlDecisionFaults();
		}
	}
}
